package com.qidian.mes.tm.mapper;


import com.qidian.mes.pojo.ToolType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 陆雯城
 * @Description
 * @Time 2024-04-07 16:36
 */
public interface ToolTypeMapper {
    List<String> selectToolTypeNames();
    int deleteByToolTypeIds(@Param("toolTypeIds") Long [] toolTypeIds);
    int deleteByToolTypeId(Long toolTypeId);
    int updateToolType(ToolType toolType);
    ToolType selectByToolTypeId(long toolTypeId);
    int insertToolType(ToolType toolType);
    List<ToolType> selectAll();
    List<ToolType> selectByPage(@Param("toolType") ToolType toolType, @Param("start") int start, @Param("limit") int limit);
    int selectCount(ToolType toolType);
    ToolType selectByToolTypeCode(String toolTypeCode);
    ToolType selectByToolTypeName(String toolTypeName);
}
